package com.example.demo.service;

import com.example.demo.pojo.Dto.OrderCDto;
import com.example.demo.pojo.Dto.OrderDto;
import com.example.demo.pojo.Order;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public List<Order> selectByUid(int uid);
    public Map<String,Object> selectOderAll(int uid);
    public PageInfo<Order> selectOrder(int uid,int pageNum, int pageSize);
    public List<Integer> selectOrderParam(int uid);
    public Order selectByOrderNo(String orderNo);
    public List<OrderDto> selectOrderItem(int id);
    public int cancelOrder(String orderno);
    public OrderCDto insertOrder(int[] ids, Order order);
    public int update(String orderno);
}
